package com.shop.cereshop.admin.param.buyer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shop.cereshop.commons.domain.common.PageParam;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class BuyerBaseUserInfo extends PageParam {
    @ApiModelProperty(value = "用户id",required = false,example = "1")
    private Long buyerUserId;

    @ApiModelProperty(value = "手机号",required = false,example = "18071569677")
    private String phone;

    @ApiModelProperty(value = "用户状态   1-是 0-否",required = false,example = "1")
    private  Integer state;

    @ApiModelProperty(value = "是否加入黑名单 1-是 0-否",required = false,example = "1")
    private  Integer isBlack;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;


    @ApiModelProperty(value = "用户账号",required = false,example = "1168")
    private String userAccount;

    @ApiModelProperty(value = "数字型用户账号",required = false)
    private Long userAccountNum;



}
